package com.zeker.spring_ai_zeker.controller;

import com.zeker.spring_ai_zeker.service.ITalkOfQwenService;
import lombok.AllArgsConstructor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@AllArgsConstructor
@RequestMapping("/e/talk")
public class TalkQwenController {

    @Autowired
    private ITalkOfQwenService talkOfQwenService;

    //接收消息
    @GetMapping
    public String getOrderById(@RequestParam String msg){

        String callMsg = talkOfQwenService.getCallMsg(msg);

        return callMsg;
    }


}